package com.gxa.saas.pojo;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Author: yx
 * @Date: 2022/6/7 14:33
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
public class Warehouse implements Serializable {

    @ApiModelProperty(name = "id",value = "编号",dataType = "int",required = false)
    private Integer id;
    @ApiModelProperty(name = "name",value = "仓库名称",dataType = "String",required = false,allowableValues = "4号仓库")
    private String name;
    @ApiModelProperty(name = "type",value = "仓库类型",dataType = "String",required = false,allowableValues = "主仓库库")
    private String type;
    @ApiModelProperty(name = "address",value = "地址",dataType = "String",required = false,allowableValues = "天府大道")
    private String address;
    @ApiModelProperty(name = "principal",value = "负责人",dataType = "String",required = false,allowableValues = "张三")
    private String principal;
    @ApiModelProperty(name = "phone",value = "手机号",dataType = "String",required = false,allowableValues = "13582702435")
    private String phone;
    @ApiModelProperty(name = "driver",value = "跟车司机",dataType = "String",required = false,allowableValues = "李四")
    private String driver;
    @ApiModelProperty(name = "isUsed",value = "是否启用",dataType = "boolean",required = false,hidden = true)
    private Boolean isUsed;
}
